package com.wenjiandaorudaochu.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created with IntelliJ IDEA
 *
 * @author liumao
 * @date 2023/4/3/003
 */
@Data
public class User {
    @ApiModelProperty(value = "用户id")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "用户名称")
    private String name;
    @ApiModelProperty(value = "用户年龄")
    private Integer age;
    @ApiModelProperty(value = "用户性别")
    private String gender;
}